package com.waijiaojun.tpo.service.weixin;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.waijiaojun.tpo.entity.weixin.WeixinKeyReply;
import com.waijiaojun.tpo.repository.weixin.WeixinKeyReplyDao;

@Service
public class WeixinKeyReplyService{

    @Resource
    private WeixinKeyReplyDao weixinKeyReplyDao;

    public int insert(WeixinKeyReply pojo){
        return weixinKeyReplyDao.insert(pojo);
    }

    public int insertSelective(WeixinKeyReply pojo){
        return weixinKeyReplyDao.insertSelective(pojo);
    }

    public int insertList(List<WeixinKeyReply> pojos){
        return weixinKeyReplyDao.insertList(pojos);
    }

    public int update(WeixinKeyReply pojo){
        return weixinKeyReplyDao.update(pojo);
    }

    public WeixinKeyReply searchByKey(String key) {
        return weixinKeyReplyDao.searchByKey(key);
    }
}
